<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Article</title>
</head>
<body>
<f:view>
	<table cellspacing="0" cellpadding="5" width="100%">
		<%--HEADER--%>
		<tr>
			<td colspan="3"><!-- Begin HEAD --> <%@include file="common/header.jsp"%> <!-- END HEAD --></td>
		</tr>

		<tr>
			<%--NAVIGATION--%>
			<td valign="top" width="20%"><!-- Begin MENU -->
			<div id="menu"><%@include file="common/menu.jsp"%></div>
			<!-- END MENU --></td>

			<td align="left" valign="top" width="80%"><%--CENTRAL BODY--%> <f:subview id="body">
				<h:dataTable value="#{articleManagedBean.article}" var="elem" width="100%">
					<h:column>
						<tr>
							<td align="center" valign="center"><b><h:outputText value="#{elem.title}" /> </b></td>
						</tr>
						<tr>
							<td align="left" height="300px" valign="top"><br />
							<br />
							<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> <h:outputText value="#{elem.content}" /> <br />
							<br />
							</td>
						</tr>
						<tr>
							<td>
							<table width="100%">
								<tr>
									<td width="75%" align="right"><h:outputText value="#{elem.autor}" /></td>

									<td align="center" width="25%"><h:outputText value="#{elem.date}" /></td>
								</tr>
							</table>
							</td>
						</tr>
						<tr>
							<td><br />
							</td>
						</tr>
						<tr>
							<td><br />
							</td>
						</tr>
						<!-- Comments -->
						
					</h:column>
				</h:dataTable>
				<!--<hr noShade SIZE=1>
				-->
				<div id="comments" align="left"><%@include file="comments.jsp"%></div>

			</f:subview></td>
		</tr>
		<%--FOOTER--%>
		<tr>
			<td colspan="3"><%@include file="common/footer.jsp"%></td>
		</tr>
	</table>
</f:view>




</body>
</html>